package familytree.util;


import java.util.List;
import sun.reflect.generics.tree.Tree;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Antonio
 */
public interface INode<T> {
    
    void addChildren(INode<T> hijo);
    void addChildrens(List<INode> hijos);
    T getIdentificador();
    List<INode<T>> getChildrens();
    INode<T> getParent();
    boolean isRoot();
    INode<T> getChildren(int i);
    String getValor();
    void setValor(String s);
    
}
